package com.zihao.solon_study.Auth.Adapter;

import org.noear.solon.annotation.Component;
import org.noear.solon.auth.AuthProcessor;
import org.noear.solon.auth.annotation.Logical;

/** 系统验证
 */
@Component
public class SystemAuthAdapter implements AuthProcessor {

    @Override
    public boolean verifyIp(String ip) {
        System.out.println(ip);
        return false;
    }

    @Override
    public boolean verifyLogined() {
        return false;
    }

    @Override
    public boolean verifyPath(String path, String method) {
        return false;
    }

    @Override
    public boolean verifyPermissions(String[] permissions, Logical logical) {
        return false;
    }

    @Override
    public boolean verifyRoles(String[] roles, Logical logical) {
        return false;
    }
}
